package com.download.web.mapper;

import com.download.web.entity.SysNavBar;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author cmy
 * @since 2019-02-20
 */
public interface SysNavBarMapper extends BaseMapper<SysNavBar> {

    @Update("update sys_nav_bar set name=#{name} where id=${id}")
    void updateNameById(@Param("name")String name,@Param("id") Integer id);

}
